#pragma once

#include <vector>
#include <string>
#include <stdlib.h>

typedef struct stItemStruct
{
	CString strItemRank;
	UINT nItemAmount;
	CString strItemAword;
	CString strItemImage;
	stItemStruct() {
		strItemRank = "";
		nItemAmount = 0;
		strItemAword = "";
		strItemImage = "";
	}
}stItems;

// Retake dialog

class Retake : public CDialog
{
	DECLARE_DYNAMIC(Retake)

public:
	Retake(CWnd* pParent = nullptr);   // standard constructor
	virtual ~Retake();

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_RETAKE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CComboBox m_cmbRetakeRank;
	CEdit m_editRetakeCnt;
	CString m_strRetakeRank;
	UINT m_nRetakeCount;
	UINT m_nCurSel;
	bool m_bRetake;
	std::vector<stItems> vecItems;
	afx_msg void OnCbnSelchangeComboRetakeRank();
	afx_msg void OnBnClickedOk();
};
